﻿<%@ Page Title="【个人中心】-我要提款" Language="C#" MasterPageFile="~/APP_Master/MasterPage_Personal.master" AutoEventWireup="true" CodeFile="per_withdraw.aspx.cs" Inherits="per_withdraw" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <script type="text/javascript">
        function CheckState()
        {
            var bankcare=<%=addbankcard ==null? "'wu'":addbankcard.AccountNumber%>;
            if(bankcare=="wu")
            {
                alert('无效号码!');
            }
        }
    </script>
    <!--Right-->
    <div class="per_right_con">
        <div class="per_will_deposit_t">
            <b>我要提款</b>
            <span><a href="per_tx_records.aspx">近6个月提款记录 </a></span>
        </div>
        <p class="per_withdraw_prompt">友情提示：工、农、中、交、建、招六大银行提款最快，均在一个工作日内到账，建议您优先绑定这六家银行 </p>
        <ul class="per_withdraw_ul">
            <li>
                <p class="per_withdraw_n">可提金额：</p>
                <b><%=user_account != null ? user_account.total : 0%></b> 元
            </li>
            <li>
                <p class="per_withdraw_n">开户姓名：</p>
                <%=loginUserInfo.realname %>
            </li>
            <li>
                <p class="per_withdraw_n">提款银行卡号：</p>
                <%=addbankcard!=null?addbankcard.BankName:"未做任何说明" %>
                <%=addbankcard != null ? (addbankcard.AccountNumber.Replace(addbankcard.AccountNumber.Substring(loginUserInfo.mob.Length - 8, 8), "******"))
                                         : "无效号码"%> <a href="per_bank_card.aspx" class="per_w_a">修改银行卡</a>
            </li>
            <li>
                <p class="per_withdraw_n">提款金额：</p>
                <asp:TextBox ID="txmoney" runat="server" CssClass="per_withdraw_box"></asp:TextBox>&nbsp;元 
            <span>请输入提款金额
            <asp:RequiredFieldValidator ID="rfv1" ControlToValidate="txmoney"
                runat="server" ErrorMessage="必须输入，不能超过可提金额"></asp:RequiredFieldValidator></span>
                <p class="per_w_infor">最小提款金额为1元，每天只能提款1次，红包账户资金只能用于购彩不能提现！</p>
            </li>
            <li>

                <p class="per_withdraw_n">支付密码：</p>
                <asp:TextBox ID="zhifupass" runat="server" CssClass="per_withdraw_box"
                    TextMode="Password"></asp:TextBox>
                <span>请输入支付密码
                <asp:RequiredFieldValidator ID="rfv2" ControlToValidate="zhifupass"
                    runat="server" ErrorMessage="必须输入"></asp:RequiredFieldValidator>
                </span>
                <p class="per_w_infor"><a href="per_pay_password.aspx" class="per_w_a">找回支付密码</a>此支付密码是您设置的彩票账户的支付密码，和银行卡无关</p>
            </li>
            <li>

                <asp:Button ID="Button1" runat="server" Text="确认提款" CssClass="per_withdraw_btn" OnClientClick="CheckState();"
                    OnClick="Button1_Click" />
            </li>
        </ul>
        <div class="per_r_infor">
            <h3>提款申请-注意事项：</h3>
            <p>为保障您的资金安全，我们将审核您的提款申请后，再汇款至您的银行卡；</p>
            <p>我们受理提款后，系统会以短信形式通知您，并非银行到账通知；</p>
            <p>为防止恶意提款、洗钱等不法行为，每笔充值资金的15%须用于实际消费，否则提款受限；</p>
            <p>为保障提款资金快速汇至您的银行卡，每天限制申请提款1次（如提款申请未处理，可自行在提款记录中撤销）；</p>
        </div>
    </div>

    <!--Right-->
    <div class="per_bg_bottom"></div>
    </div>
    <!--Content-->
</asp:Content>

